<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>定位</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .wrap {
        }

        .container {
            width: 992px;
            position: relative;
            border: 1px solid #000;
        }

        .box {
            width: 50px;
            height: 80px;
        }



        .ad {
            width: 310px;
            height: 190px;
            margin: 100px;
            position: relative;
        }

        .ad img:first-child {
            width: 310px;
            height: 190px;

        }

        .ad img:nth-child(2) {
            position: absolute;
            top: 0;
            left: 0;
        }

        .ad img:last-child {
            position: absolute;
            right: 0;
            bottom: 0;
        }


        #content {
            width: 992px;
            height: 420px;
        }


        #b1 {
            position: absolute;
            left: 20px;
            top: 50%;
            margin-top: -25px;
            background: transparent url(images/left.png) center center no-repeat;
            -webkit-background-size: cover;
            background-size: cover;
        }

        #b2 {
            position: absolute;
            right: 20px;
            top: 50%;
            margin-top: -25px;
            margin-right: 25px;
            background: transparent url(images/right.png)  center center no-repeat;
            -webkit-background-size: cover;
            background-size: cover;
        }

        .box:hover {
            -webkit-box-shadow: inset 0 2px 3px #000;
            -moz-box-shadow: inset 0 2px 3px #000;
            box-shadow: inset 0 2px 3px #000;
        }
        .point {
            width: 200px;
            height: 50px;
            position: absolute;
            left: 50%;
            margin-left: -100px;
            bottom: 20px;
        }

        .point ul {
            list-style: none;
        }

        .point ul li {
            float: left;
            display: inline-block;
            width: 15px;
            height: 15px;
            margin-left:20px;
            background-color: rgba(171, 221, 229, 0.67);
            border-radius: 10px;
        }
        .point ul li.current {
            width: 16px;
            height: 16px;
            background-color: rgb(255, 114, 77);
        }
        #top {
            top: 0;
            left: 0;
            width: 100%;
            height: 40px;
            z-index: 1000;
            line-height: 40px;
            position: fixed;
            background-color: #f0f0f0;
        }

        #win {
            margin-top: 40px;
        }

        #top ul{
            list-style: none;
        }

        #top ul li  {
            float: left;
        }
    </style>
</head>
<body>
<div id="top">
    <ul>
        <li>首页</li>
        <li>资讯</li>
        <li>科技</li>
    </ul>
</div>
<img id="win" src="images/box.png"/>
<div class="ad">
    <img src="images/adv.jpg" alt="">
    <img class="icon" src="images/top_tu.gif"/>
    <img class="icon" src="images/br.gif"/>
</div>
<div class="wrap">
    <div class="container">

        <div id="b1" class="box">

        </div>
        <div id="b2" class="box">

        </div>

        <div id="content">
            <img src="images/01.jpg" alt="">
        </div>

        <div class="point">
            <ul>
                <li class="current"></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
            </ul>
        </div>
    </div>
</div>
</body>
</html>
